<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>商品价格记录</title>
</head>
<body>
	<s:form name="addForm" action="add" method="post">
	<table>
		<tr>
			<td colspan="2">添加</td>
		</tr>
		<tr>
			<td>商品类型：</td>
			<td><s:select name="pId" list="#{'1':'灶','2':'锅','3':'抽烟机'}" /></td>
		</tr>
		<tr>
			<td>价格：</td>
			<td><s:textfield name="price" theme="simple" /></td>
		</tr>
		<tr>
			<td>记录时间：</td>
			<td><s:textfield name="recordDate" theme="simple" /></td>
		</tr>
		<tr>
			<td>操作类型：</td>
			<td><s:textfield name="operateType" theme="simple" /></td>
		</tr>
		<tr>
			<td>备注：</td>
			<td><s:textfield name="remark" theme="simple" /></td>
		</tr>
		<tr>
			<td colspan="2">
				<s:submit name="subAdd"  value="添加" theme="simple"/>
			</td>
		</tr>
	</table>
	</s:form>
</body>
</html>